var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/list', function (req, res, next) {
  var json = {"code": 0, "msg": "sucess", "data": "nihao"}

  res.json({
    code: 0,
    msg: 'sucess',
    data: '这是用户列表'
  })
  // res.send(json)
});
router.get('/', function (req, res, next) {
  
  res.json({
    code: 0,
    msg: 'delete sucess',
  })
});
module.exports = router;
